← Back to issue list

python plugin ignores source-subdir

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1741131
Type
issue
State
open
Author
~elopio
Labels
Created
2018-01-03 22:28:04.088870+00:00
Updated
2018-01-05 02:33:01.173179+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

When the setup.py file is in a subdir of the project, the python plugin can't find it and thus finishes without installing anything. To reproduce, let's modify the python-hello test snap: $ mkdir tmp $ cd tmp $ git clone https://github.com/snapcore/snapcraft $ cp -R snapcraft/snapcraft/tests/integration/snaps/python-hello/ . $ cd python-hello $ mkdir subdir $ mv hello subdir/ $ mv setup.py subdir/ $ echo " source-subdir: subdir" >> snap/snapcraft.yaml $ snapcraft

Evaluation history

No evaluation history available.